﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Simpletron.Exceptions
{
  public class InvalidSingletronMemoryLocationException : SimpletronException
  {
    public InvalidSingletronMemoryLocationException(int location)
      :base("{0} is not a valid memory location. A valid range is {1} - {2}" ,
      location, 
      Memory.minMemoryLocation, 
      Memory.maxMemoryLocation)
    { }
  }
}
